package com.app.qbake.module.mine.activity;

import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.widget.TextView;

import com.wind.base.BaseActivity;
import com.wind.base.repo.ConfigRepo;
import com.wind.base.utils.Navigator;
import com.app.qbake.R;

public class AboutUsActivity extends BaseActivity{

    public static void start(Context context){
        Navigator.navigate(context,AboutUsActivity.class);
    }

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_aboutus);
        TextView tv_aboutus=$(R.id.tv_aboutus);
        tv_aboutus.setText(ConfigRepo.getInstance().get(getActivity()).getAboutUs());
    }

    @Override
    protected void setTitle() {
        mTitleBar.setTitle("关于我们");
    }
}
